package com.eig.stat.controller;

import com.eig.common.vo.Result;
import com.eig.stat.service.TbMemberService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

/**
 * 会员表(TbMember)表控制层
 *
 * @author makejava
 * @since 2022-12-22 23:15:19
 */
@RestController
@RequestMapping("/stat/member")
public class TbMemberController {
    /**
     * 服务对象
     */
    @Resource
    private TbMemberService tbMemberService;


    @PostMapping("/queryMemberTypeBang")
    public Result<List> queryMemberTypeBang(){
        return new Result<List>(2000,"查询成功",tbMemberService.queryMemberTypeBang());
    }

}

